
{include file='tpl_admin_header.html'}

<body class="wp-admin ">
<div id="wpwrap">
<div id="wpcontent">
<div id="wphead">
<h1>AGrind Designer</h1>
</div>
<div id="user_info"><p>您好，<a href="profile.php">admin</a> | <a href="{ url controller='admin' action='logout' }" title="注销">注销</a></p></div>

{include file='tpl_admin_menu.html'}

<div id="wpbody">

<div class="wrap">

<h2>{$menuName}</h2>
<br class="clear" />
<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="{ url controller='mngralbum' action='added' }" enctype="multipart/form-data">
	<input type="hidden" name="cat_ID" value="" />
	<table class="form-table">
		<tr class="form-field form-required">
			<th scope="row" valign="top"><label for="album_name">专辑名称</label></th>
			<td><input name="album_name" id="album_name" type="text" value="" size="40" /></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="artist_id">所属乐队</label></th>
			<td>{webcontrol type='DropdownList' name='artist_id' items=$artists}</td>
		</tr>		
		<tr class="form-field">
			<th scope="row" valign="top"><label for="style_id">风格</label></th>
			<td>{webcontrol type='checkboxgroup' name='style_id' items=$styles selected=$selStyle key='style_id' caption='style_name' }</td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="album_thumb">专辑封面(斜)</label></th>
			<td><input type="file" name="album_thumb" size="60" /></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="album_photo">专辑图片(正)</label></th>
			<td><input type="file" name="album_photo" size="60" /></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="label_id">发行厂牌</label></th>
			<td>{webcontrol type='DropdownList' name='label_id' items=$labels}</td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="release_date">发行年份</label></th>
			<td><input name="release_date" id="release_date" type="text" value="" size="10" /></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="album_intro">专辑介绍</label></th>
			<td><textarea name="album_intro" id="album_intro" rows="10" cols="50" style="width: 97%;"></textarea></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="album_content">专辑内容</label></th>
			<td><textarea name="album_content" id="album_content" rows="18" cols="50" style="width: 97%;"></textarea></td>
		</tr>
	</table>
	<p class="submit"><input type="submit" class="button" name="submit" value="添加专辑" /></p>
</form>
<br class="clear" />



</div><!-- wrap -->

</div><!-- wpbody -->
</div><!-- wpcontent -->
</div><!-- wpwrap -->
{include file='tpl_admin_footer.html'}
</body>
</html>
